package main
import "fmt"

func main(){
	//定义一个字符串
	str := "golang"
	fmt.Println("字符串长度为：",len(str))
}